package com.study.clothes.service.impl;

import com.study.clothes.pojo.Car;
import com.study.clothes.mapper.CarMapper;
import com.study.clothes.service.ICarService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Jiayu.Yang
 * @since 2021-12-29
 */
@Service
public class CarServiceImpl extends ServiceImpl<CarMapper, Car> implements ICarService {

    @Autowired
    private CarMapper carMapper;
    @Override
    public Integer getSum(Integer id) {
        return carMapper.getSum(id);
    }
}
